<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: eosio::fixed_point128&lt; Q &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceeosio.html">eosio</a></li><li class="navelem"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structeosio_1_1fixed__point128-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">eosio::fixed_point128&lt; Q &gt; Struct Template Reference<div class="ingroups"><a class="el" href="group__contractdev.html">Smart Contract API Reference</a> &raquo; <a class="el" href="group__mathapi.html">Math API</a> &raquo; <a class="el" href="group__mathcppapi.html">Math C++ API</a> &raquo; <a class="el" href="group__fixedpoint.html">Fixed Point</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>128 bits representation of Fixed Point class.  
 <a href="structeosio_1_1fixed__point128.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="fixedpoint_8hpp_source.html">fixedpoint.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a35bb5e4ffc953d845551dadf79455ab8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point128.html#a35bb5e4ffc953d845551dadf79455ab8">fixed_point128</a> (<a class="el" href="group__types.html#ga811ec3b3c805bfd6b8ec302d59fc5a94">int128_t</a> v=0)</td></tr>
<tr class="memdesc:a35bb5e4ffc953d845551dadf79455ab8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Can create <a class="el" href="structeosio_1_1fixed__point128.html" title="128 bits representation of Fixed Point class. ">fixed_point128</a> instance from an int128_t, <a class="el" href="structeosio_1_1fixed__point128.html" title="128 bits representation of Fixed Point class. ">fixed_point128</a>,64,32 instance.  <a href="#a35bb5e4ffc953d845551dadf79455ab8">More...</a><br /></td></tr>
<tr class="separator:a35bb5e4ffc953d845551dadf79455ab8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a6e26a69471e1d42ca0f6b41b673734"><td class="memTemplParams" colspan="2">template&lt;uint8_t qr&gt; </td></tr>
<tr class="memitem:ga9a6e26a69471e1d42ca0f6b41b673734"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#ga9a6e26a69471e1d42ca0f6b41b673734">fixed_point128</a> (const <a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; qr &gt; &amp;r)</td></tr>
<tr class="separator:ga9a6e26a69471e1d42ca0f6b41b673734"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac03c87c2b4a19daf60e5f9c56c4584f0"><td class="memTemplParams" colspan="2">template&lt;uint8_t qr&gt; </td></tr>
<tr class="memitem:gac03c87c2b4a19daf60e5f9c56c4584f0"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#gac03c87c2b4a19daf60e5f9c56c4584f0">fixed_point128</a> (const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; qr &gt; &amp;r)</td></tr>
<tr class="separator:gac03c87c2b4a19daf60e5f9c56c4584f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab26dee4e941063197fb98f2d71d9c8ce"><td class="memTemplParams" colspan="2">template&lt;uint8_t qr&gt; </td></tr>
<tr class="memitem:gab26dee4e941063197fb98f2d71d9c8ce"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__fixedpoint.html#gab26dee4e941063197fb98f2d71d9c8ce">fixed_point128</a> (const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; qr &gt; &amp;r)</td></tr>
<tr class="separator:gab26dee4e941063197fb98f2d71d9c8ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1790a1e9c8858987870440b7d0221702"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga811ec3b3c805bfd6b8ec302d59fc5a94">int128_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point128.html#a1790a1e9c8858987870440b7d0221702">int_part</a> () const</td></tr>
<tr class="memdesc:a1790a1e9c8858987870440b7d0221702"><td class="mdescLeft">&#160;</td><td class="mdescRight">To get the integer part of the fixed number.  <a href="#a1790a1e9c8858987870440b7d0221702">More...</a><br /></td></tr>
<tr class="separator:a1790a1e9c8858987870440b7d0221702"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a039ff620c0ccbde2438615df5d6d3ab8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point128.html#a039ff620c0ccbde2438615df5d6d3ab8">frac_part</a> () const</td></tr>
<tr class="memdesc:a039ff620c0ccbde2438615df5d6d3ab8"><td class="mdescLeft">&#160;</td><td class="mdescRight">To get the decimal part of the fixed number.  <a href="#a039ff620c0ccbde2438615df5d6d3ab8">More...</a><br /></td></tr>
<tr class="separator:a039ff620c0ccbde2438615df5d6d3ab8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad93deaa805f79fa8547f76039ef9c24d"><td class="memTemplParams" colspan="2">template&lt;uint8_t qr&gt; </td></tr>
<tr class="memitem:ad93deaa805f79fa8547f76039ef9c24d"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point128.html#ad93deaa805f79fa8547f76039ef9c24d">operator=</a> (const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; qr &gt; &amp;r)</td></tr>
<tr class="separator:ad93deaa805f79fa8547f76039ef9c24d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6221bff5864db61cce02e21d4fa9159"><td class="memTemplParams" colspan="2">template&lt;uint8_t qr&gt; </td></tr>
<tr class="memitem:ac6221bff5864db61cce02e21d4fa9159"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point128.html#ac6221bff5864db61cce02e21d4fa9159">operator=</a> (const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; qr &gt; &amp;r)</td></tr>
<tr class="separator:ac6221bff5864db61cce02e21d4fa9159"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30180ac339ef359d5d553c7e5eb1af83"><td class="memTemplParams" colspan="2">template&lt;uint8_t qr&gt; </td></tr>
<tr class="memitem:a30180ac339ef359d5d553c7e5eb1af83"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point128.html#a30180ac339ef359d5d553c7e5eb1af83">operator=</a> (const <a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; qr &gt; &amp;r)</td></tr>
<tr class="separator:a30180ac339ef359d5d553c7e5eb1af83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec57d31fe7d5ef08eac57ac793aefa83"><td class="memTemplParams" colspan="2">template&lt;uint8_t qr&gt; </td></tr>
<tr class="memitem:aec57d31fe7d5ef08eac57ac793aefa83"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point128.html#aec57d31fe7d5ef08eac57ac793aefa83">operator==</a> (const <a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; qr &gt; &amp;r)</td></tr>
<tr class="separator:aec57d31fe7d5ef08eac57ac793aefa83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a062d76e3f824db70e6007dbe34f24874"><td class="memTemplParams" colspan="2">template&lt;uint8_t qr&gt; </td></tr>
<tr class="memitem:a062d76e3f824db70e6007dbe34f24874"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point128.html#a062d76e3f824db70e6007dbe34f24874">operator&gt;</a> (const <a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; qr &gt; &amp;r)</td></tr>
<tr class="separator:a062d76e3f824db70e6007dbe34f24874"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f5ea9645922ee31ea90cc3c9bbb58ae"><td class="memTemplParams" colspan="2">template&lt;uint8_t qr&gt; </td></tr>
<tr class="memitem:a0f5ea9645922ee31ea90cc3c9bbb58ae"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point128.html#a0f5ea9645922ee31ea90cc3c9bbb58ae">operator&lt;</a> (const <a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; qr &gt; &amp;r)</td></tr>
<tr class="separator:a0f5ea9645922ee31ea90cc3c9bbb58ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aca06ae4275f148e87dcd527cbdaf87c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga811ec3b3c805bfd6b8ec302d59fc5a94">int128_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeosio_1_1fixed__point128.html#aca06ae4275f148e87dcd527cbdaf87c5">val</a></td></tr>
<tr class="separator:aca06ae4275f148e87dcd527cbdaf87c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;uint8_t Q&gt;<br />
struct eosio::fixed_point128&lt; Q &gt;</h3>

<p>The template param Q represents the Q Factor i.e number of decimals Example: </p><div class="fragment"><div class="line">fixed_point128&lt;6&gt; a(123232.455667233)</div><div class="line"><a class="code" href="structeosio_1_1fixed__point128.html#a35bb5e4ffc953d845551dadf79455ab8">fixed_point128</a>&lt;0&gt; a(123424)</div><div class="line"><a class="code" href="structeosio_1_1fixed__point128.html#a35bb5e4ffc953d845551dadf79455ab8">fixed_point128</a>&lt;18&gt; c = a*b;</div><div class="line"><a class="code" href="structeosio_1_1fixed__point128.html#a35bb5e4ffc953d845551dadf79455ab8">fixed_point128</a>&lt;24&gt; d = a+b+c;</div><div class="line"><a class="code" href="structeosio_1_1fixed__point128.html#a35bb5e4ffc953d845551dadf79455ab8">fixed_point128</a>&lt;24&gt; e = b/a;</div></div><!-- fragment --> </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a35bb5e4ffc953d845551dadf79455ab8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35bb5e4ffc953d845551dadf79455ab8">&#9670;&nbsp;</a></span>fixed_point128()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::<a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga811ec3b3c805bfd6b8ec302d59fc5a94">int128_t</a>&#160;</td>
          <td class="paramname"><em>v</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Various constructors for <a class="el" href="structeosio_1_1fixed__point128.html" title="128 bits representation of Fixed Point class. ">fixed_point128</a> Example: </p><div class="fragment"><div class="line">          fixed_point64&lt;18&gt; a(1234.455667);</div><div class="line">ope        * fixed_point128&lt;3&gt; b(a);</div><div class="line">          fixed_point32&lt;6&gt; b(13324.32323);</div><div class="line">          fixed_point128&lt;5&gt; c(a);</div></div><!-- fragment --> 
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a039ff620c0ccbde2438615df5d6d3ab8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a039ff620c0ccbde2438615df5d6d3ab8">&#9670;&nbsp;</a></span>frac_part()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga396787e5ec029b1205bd3e4cd9763e7d">uint128_t</a> <a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::frac_part </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the decimal part of the 64 bit fixed number </p><dl class="section return"><dt>Returns</dt><dd>Returns decimal part of the fixed number</dd></dl>
<p>Example: </p><div class="fragment"><div class="line">fixed_point128&lt;3&gt; a(1234.455667)</div><div class="line"><a class="code" href="namespacestd.html">std</a>::cout &lt;&lt; a.decimal_part(); <span class="comment">// Output: 455</span></div></div><!-- fragment --> 
</div>
</div>
<a id="a1790a1e9c8858987870440b7d0221702"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1790a1e9c8858987870440b7d0221702">&#9670;&nbsp;</a></span>int_part()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga811ec3b3c805bfd6b8ec302d59fc5a94">int128_t</a> <a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::int_part </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the integer part of the 64 bit fixed number </p><dl class="section return"><dt>Returns</dt><dd>Returns integer part of the fixed number</dd></dl>
<p>Example: </p><div class="fragment"><div class="line">fixed_point64&lt;5&gt; a(1234.455667)</div><div class="line"><a class="code" href="namespacestd.html">std</a>::cout &lt;&lt; a.<a class="code" href="structeosio_1_1fixed__point128.html#a1790a1e9c8858987870440b7d0221702">int_part</a>(); <span class="comment">// Output: 1234</span></div></div><!-- fragment --> 
</div>
</div>
<a id="a0f5ea9645922ee31ea90cc3c9bbb58ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f5ea9645922ee31ea90cc3c9bbb58ae">&#9670;&nbsp;</a></span>operator<()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t qr&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; qr &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad93deaa805f79fa8547f76039ef9c24d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad93deaa805f79fa8547f76039ef9c24d">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t qr&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&amp; <a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point32.html">fixed_point32</a>&lt; qr &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac6221bff5864db61cce02e21d4fa9159"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6221bff5864db61cce02e21d4fa9159">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t qr&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&amp; <a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point64.html">fixed_point64</a>&lt; qr &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a30180ac339ef359d5d553c7e5eb1af83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30180ac339ef359d5d553c7e5eb1af83">&#9670;&nbsp;</a></span>operator=() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t qr&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&amp; <a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; qr &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aec57d31fe7d5ef08eac57ac793aefa83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec57d31fe7d5ef08eac57ac793aefa83">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t qr&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; qr &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a062d76e3f824db70e6007dbe34f24874"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a062d76e3f824db70e6007dbe34f24874">&#9670;&nbsp;</a></span>operator>()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
<div class="memtemplate">
template&lt;uint8_t qr&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::operator&gt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structeosio_1_1fixed__point128.html">fixed_point128</a>&lt; qr &gt; &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aca06ae4275f148e87dcd527cbdaf87c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca06ae4275f148e87dcd527cbdaf87c5">&#9670;&nbsp;</a></span>val</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t Q&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__types.html#ga811ec3b3c805bfd6b8ec302d59fc5a94">int128_t</a> <a class="el" href="structeosio_1_1fixed__point128.html">eosio::fixed_point128</a>&lt; Q &gt;::val</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>contracts/eoslib/<a class="el" href="fixedpoint_8hpp_source.html">fixedpoint.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
